/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package src.j2ee.compumake.builders;

/************************************************************************
 **                                                                    **
 ** Nombre: BuilderLogin.java                                          **
 ** Version: v1.0.0                                                    **
 ** Autor: Eric Huerta                                                 **
 ** Creado: 20/04/2013                                                 **
 ** Modificado:                                                        **
 ** Diagrama:                                                          **
 ** Caso de uso:                                                       **
 **                                                                    **
 ***********************************************************************/
public class BuilderLogin {
    
    public static String devolverSeccionLogin(int banderaTipo){
		switch(banderaTipo){
		case 1:
			return "";
		case 2:
			return "";
		case 3:
			return "";
		default:
			return crearSeccionLogin();
		}
	}
    
    private static String crearSeccionLogin(){
        seccionLogin="<div style=\"backgroung: #000; float: left;\"><form action=\"LoginUsuario\" >"+
                                "<input type=\"text\" name=\"usuario\" label=\"usuario\" />"+
                                "<input type=\"text\" name=\"contrasenia\"  label=\"password\" />"+
                            "<input type=\"submit\" value=\"iniciar sesión\" />"+                       
                    "</form></div>";
		return seccionLogin;
	}
    
    
	private static String seccionLogin;
    
}
